package scenic;

import java.awt.Rectangle;

import scenic.geom.Affine2;

/**
 * This is the base class for different brushes. Brushes are scene 
 * nodes that paint the entire available area (the area that is not clipped)
 * using some method.
 * 
 */
public abstract class Brush extends SceneLeaf {
	protected Brush() {
	}
	
	Rectangle getBounds(Affine2 transform) {
		return new Rectangle(0, 0, Integer.MAX_VALUE, Integer.MAX_VALUE);
	}
	
//	abstract void draw(DrawContext context, Affine2 transform, Shape shape);
	
//	void prepareDraw(DrawContext context, Affine2 transform, Shape shape) {
//		shape.prepareDraw(context, transform);
//	}
}
